function DialogObject(doc, container, width, height, user, date, options, data) {
  this._doc = doc;
  this._container = container;
  this._user = user;
  this._date = date;
  this._options = options;
  this._data = data;
  this._unique = MiscUtils.unique();
  this._createElements();
  this._gui = AbsDialogObject.gui(this._unique);
};

DialogObject.prototype._createElements = function() {
  var table, tr, td, unique = MiscUtils.unique();
  
  table = document.createElement('table');
  table.cellPadding = 0;
  table.cellSpacing = 0;
  this._container.appendChild(table);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.colSpan = 6;
  var table1 = document.createElement('table');
  table1.cellPadding = 0;
  table1.cellSpacing = 0;
  table1.style.margin = '10px 0 5px';
  td.appendChild(table1);
  var tr1 = table1.insertRow(-1);
  var td1 = tr1.insertCell(-1);
  td1.style.textAlign = 'left';
  td1.style.width = '50px';
  td1.style.fontSize = '13px';
  td1.appendChild(document.createTextNode(this._options.textTitle));
  
  td1 = tr1.insertCell(-1);
  td1.style.textAlign = 'left';
  var input = DOMUtils.createInput('', this._unique + '_object_text', 'text', '', null);
  input.style.margin = '0 0 0 10px';
  input.style.width = '188px';
  input.style.height = '18px';
  td1.appendChild(input);
  
  td1 = tr1.insertCell(-1);
  td1.style.textAlign = 'left';
  var button = DOMUtils.createInput('', this._unique + '_add_button', 'button', 'Add', null);
  button.style.margin = '0 0 0 10px';
  td1.appendChild(button);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.width = '720px';
  td.colSpan = 6;
  td.style.paddingBottom = '10px';
  var object = document.createElement('table');
  object.cellPadding = 0;
  object.cellSpacing = 0;
  object.style.width = '720px';
  object.className = "object";
  object.id = this._unique + '_objects_table';
  td.appendChild(object);
  
  tr = object.insertRow(-1);
  tr.style.backgroundColor = '#ddd';
  td = tr.insertCell(-1);
  td.colSpan = 6;
  td.style.fontWeight = 'bold';
  td.style.paddingLeft = '10px';
  td.style.textAlign = 'left';
  td.appendChild(document.createTextNode(this._options.title));
};